package org.cmg.study.spring;

/**
 * @author CMG
 * @version 1.0
 * @cLassName Man
 * @description
 * @date 2021/9/1 10:55
 **/
public class Man {
    private String name;
    private int age;
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public int getAge() {
        return age;
    }
    public void setAge(int age) {
        this.age = age;
    }
    public void throwException() {
        System.out.println("抛出异常");
        throw new IllegalArgumentException();
    }
}
